<extend name="Public/common" />
<block name="body">

<div class="page">
  <table class="table tb-type2 order">
    <tbody>
      <tr class="space">
        <th colspan="15">订单状态</th>
      </tr>
      <tr>
        <td colspan="2"><ul>
            <li><strong>订单编号:</strong>{$info['order_sn']}</li>
            <li><strong>订单状态:</strong>{:getOrderState($info['order_state'])}</li>
            <li><strong>订单总额:</strong><span class="red_common">{$info['order_amount']}</span></li>
            <li><strong>运费:</strong>{$info['shipping_fee']}</li>
          </ul></td>
      </tr>
      <tr class="space">
        <th colspan="2">订单详情</th>
      </tr>
      <tr>
        <th>订单信息</th>
      </tr>
      <tr>
        <td><ul>
            <li><strong>买家:</strong>{$member['nickname']}</li>
            <li><strong>商户:</strong>{$store['store_name']}</li>
            <li><strong>支付方式:</strong>{$info['pay_code']}</li>
            <li><strong>下单时间:</strong>{$info['create_time']|time_format}</li>
            <eq name="info.pay_state" value="1">
            <li><strong>付款时间:</strong>{$info['pay_time']|time_format}</li>
            <else />
            <li><strong>付款时间:</strong>未支付</li>
            </eq>
            <li><strong>支付方式交易码:</strong>{$info['pay_sn']}</li>
            <li><strong>支付方式支付金额:</strong><span class="red_common">{$info['pay_amount']}</span></li>
          </ul></td>
      </tr>
      <tr>
        <th>收货人及发货信息</th>
      </tr>
      <tr>
        <td><ul>
            <li><strong>收货人姓名:</strong>{$common['reciver_name']}</li>
            <li><strong>收货人联系方式:</strong>{$common['reciver_phone']}</li>
            <li><strong>收货人地址:</strong>{$common['address']}</li>
            <li><strong>楼宇:</strong>{$common['region_name']}</li>
            <li><strong>发货时间:</strong>{$common['shipping_time']|time_format}</li>
            <li><strong>快递公司:</strong>{$express[$common['shipping_express_id']]}</li>
            <li><strong>快递编号:</strong>{$common['shipping_code']}</li>
            <li><strong>发货商户:</strong>{$store['store_name']}</li>
            <li><strong>发货商户电话:</strong>{$store['store_telephone']}</li>
            <li><strong>发货人地址:</strong>{$common['deliver_address']}</li>
            <li><strong>快递员（跑男）:</strong>{$region['courier_name']}</li>
            <li><strong>快递员（跑男）电话:</strong>{$region['courier_phone']}</li>
          </ul></td>
          </tr>
      <tr>
        <th>商品信息</th>
      </tr>
      <tr>
        <td><table class="table tb-type2 goods ">
            <tbody>
              <tr>
                <th></th>
                <th>商品名称</th>
                <th class="align-center">商品数量</th>
                <th class="align-center">单价</th>
                <th class="align-center">实际支付额</th>
              </tr>
              <volist name="goods" id="vo">
              <tr>
                <td class="w60 picture"><div class="size-56x56"><span class="thumb size-56x56"><i></i><a href="{:U('admin/goods/edit?id='.$vo['goods_id'])}" target="_blank"><img src="{$vo['goods_image']}" onload="javascript:DrawImage(this,56,56);" /> </a></span></div></td>
                <td class="w50pre"><p><a href="{:U('admin/goods/edit?id='.$vo['goods_id'])}" target="_blank">{$vo['goods_name']}</a></p></td>
                <td class="w96 align-center">{$vo['goods_num']}</td>
                <td class="w96 align-center"><span class="red_common">{$vo['goods_price']}</span></td>
                <td class="w96 align-center"><span class="red_common">{$vo['goods_pay_price']}</span></td>
              </tr>
              </volist>
            </tbody>
          </table></td>
      </tr>
    </tbody>
    <tfoot>
      <tr class="tfoot">
        <td><a href="JavaScript:void(0);" class="btn" onclick="history.go(-1)"><span>返回</span></a></td>
      </tr>
    </tfoot>
  </table>
</div>
</block>